package cn.meizhu.base.service;

import cn.meizhu.base.query.BaseQuery;
import cn.meizhu.util.QueryResult;

import java.util.List;

public interface IBaseService<T> {
    void save(T t);
    void update(T t);
    void delete(Long id);
    T findById(Long id);
    List<T> findAll();
    QueryResult<T> queryPage(BaseQuery baseQuery);
}
